package com.hustmed.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 材料数据对象 material
 *
 */
@Data
public class Material extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 材料id */
    private String id;

    /** 材料名称 */
    @Excel(name = "材料名称")
    private String matName;

    /** 材料编号 */
    @Excel(name = "材料编号")
    private String matNo;

    /** json配置 */
//    @Excel(name = "json配置")
    private String cjson;

    /** 键值对json */
//    @Excel(name = "键值对json")
    private String vjson;

    @Excel(name = "备注")
    private String remark;
    /** 状态 */
    @Excel(name = "状态",readConverterExp = "0=作废,1=正常")
    private Integer status;

    /** 删除标志（0代表存在，9代表删除） */
//    @Excel(name = "删除标志", readConverterExp = "0=代表存在，9代表删除")
    private String delFlag;

    private String vjsonq;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间")
    private Date createTime;

    @Excel(name = "更新人",dictType="user")
    private String updateBy;

}
